/**
 * Project Name: jxcommons
 * Package Name: org.jxcommons.lang
 * created on 22.11.2012 by jkonopka
 */
package org.jenkon.adapter;

import java.io.Serializable;

/**
 * adapter interface for adapt from a source to a destination object.
 * 
 * @author jkonopka
 * 
 * @param <F> the source object type
 * @param <T> the destination object type
 */
public interface Adapter<F, T> extends Serializable {

	/**
	 * adapt the source object to the destination object.
	 * 
	 * @param source the source object
	 * @return the adapted destination object from source object
	 */
	T adapt(final F source);

}
